﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Diagnostics;

public partial class Colle_Default : System.Web.UI.Page
{
    delegate string cms(string str, DateTime dt);
    protected void Page_Load(object sender, EventArgs e)
    {
        cms mc = (x, y) => x + y.ToLongTimeString();
        //Response.Write(mc("jjyy:" , DateTime.Now));

        Func<DateTime, string, decimal, string> fc = (a, b, c) => DateTime.Now.Year.ToString() +":"+ b+"--" + c.ToString();
        //Response.Write(fc(DateTime.Parse("2010-01-01"), "Aaron", 8758));

        long Ticks = 1;
        Stopwatch sw = new Stopwatch();
        sw.Start();
        for (long i = 0; i < 10000000; i++)
        {
            Ticks = i + Ticks;
            
        }
        sw.Stop();
        long runtime = sw.ElapsedMilliseconds;
        Response.Write(runtime.ToString());
    }
}
